//////////////////////////////////////////
//
//	FlexInc. 2011
//	http://www.loziosecchi.it/flex_inc
//	http://twitter.com/loziosecchi
//
//////////////////////////////////////////

package flexInc.spark.components
{
	import mx.graphics.BitmapFill;
	import flexInc.spark.components.supportClasses.SeparatorBase;
	
	//-----------------------------------
	//  Styles
	//-----------------------------------

	/**
	 *  The color for this component.
	 *   
	 *  @default NaN
	 *  
	 *  @langversion 3.0
	 *  @playerversion Flash 10
	 *  @playerversion AIR 2.6
	 *  @productversion Flex 4.5
	 */
	[Style(name="fillImage", type="Class", inherit="no")]

	/**
	 *  The mode for this component's bitmap fill.
	 *   
	 *  @default NaN
	 *  
	 *  @langversion 3.0
	 *  @playerversion Flash 10
	 *  @playerversion AIR 2.6
	 *  @productversion Flex 4.5
	 */
	[Style(name="fillMode", type="String", inherit="no", enumeration="repeat, clip, scale")]

	//--------------------------------------
	//  Other metadata
	//--------------------------------------
	
	[IconFile("assets/icons/BitmapSeparator.png")]
	
	/**
	 * This component lets you create a separator (horizontal or vertical)
	 * between two elements. The default background is a flat black, but
	 * any bitmap can be embedded.
	 */
	public class BitmapSeparator extends SeparatorBase
	{
		/**
		 * Constructor
		 */
		public function BitmapSeparator()
		{
			super();
		}

		//--------------------------------------------------------------------------
		//
		//  Skin parts
		//
		//--------------------------------------------------------------------------
		
		[SkinPart(required="true")]
		
		/**
		 *  A skin part that defines the background fill for the component. 
		 *  
		 *  @langversion 3.0
		 *  @playerversion Flash 10.1
		 *  @playerversion AIR 2.0
		 *  @productversion Flex 4.5
		 */
		public var bitmapFill:BitmapFill;
		
	}
}